package com.it.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andInfoIdIsNull() {
            addCriterion("info_id is null");
            return (Criteria) this;
        }

        public Criteria andInfoIdIsNotNull() {
            addCriterion("info_id is not null");
            return (Criteria) this;
        }

        public Criteria andInfoIdEqualTo(String value) {
            addCriterion("info_id =", value, "infoId");
            return (Criteria) this;
        }

        public Criteria andInfoIdNotEqualTo(String value) {
            addCriterion("info_id <>", value, "infoId");
            return (Criteria) this;
        }

        public Criteria andInfoIdGreaterThan(String value) {
            addCriterion("info_id >", value, "infoId");
            return (Criteria) this;
        }

        public Criteria andInfoIdGreaterThanOrEqualTo(String value) {
            addCriterion("info_id >=", value, "infoId");
            return (Criteria) this;
        }

        public Criteria andInfoIdLessThan(String value) {
            addCriterion("info_id <", value, "infoId");
            return (Criteria) this;
        }

        public Criteria andInfoIdLessThanOrEqualTo(String value) {
            addCriterion("info_id <=", value, "infoId");
            return (Criteria) this;
        }

        public Criteria andInfoIdLike(String value) {
            addCriterion("info_id like", value, "infoId");
            return (Criteria) this;
        }

        public Criteria andInfoIdNotLike(String value) {
            addCriterion("info_id not like", value, "infoId");
            return (Criteria) this;
        }

        public Criteria andInfoIdIn(List<String> values) {
            addCriterion("info_id in", values, "infoId");
            return (Criteria) this;
        }

        public Criteria andInfoIdNotIn(List<String> values) {
            addCriterion("info_id not in", values, "infoId");
            return (Criteria) this;
        }

        public Criteria andInfoIdBetween(String value1, String value2) {
            addCriterion("info_id between", value1, value2, "infoId");
            return (Criteria) this;
        }

        public Criteria andInfoIdNotBetween(String value1, String value2) {
            addCriterion("info_id not between", value1, value2, "infoId");
            return (Criteria) this;
        }

        public Criteria andInfoRealnameIsNull() {
            addCriterion("info_realName is null");
            return (Criteria) this;
        }

        public Criteria andInfoRealnameIsNotNull() {
            addCriterion("info_realName is not null");
            return (Criteria) this;
        }

        public Criteria andInfoRealnameEqualTo(String value) {
            addCriterion("info_realName =", value, "infoRealname");
            return (Criteria) this;
        }

        public Criteria andInfoRealnameNotEqualTo(String value) {
            addCriterion("info_realName <>", value, "infoRealname");
            return (Criteria) this;
        }

        public Criteria andInfoRealnameGreaterThan(String value) {
            addCriterion("info_realName >", value, "infoRealname");
            return (Criteria) this;
        }

        public Criteria andInfoRealnameGreaterThanOrEqualTo(String value) {
            addCriterion("info_realName >=", value, "infoRealname");
            return (Criteria) this;
        }

        public Criteria andInfoRealnameLessThan(String value) {
            addCriterion("info_realName <", value, "infoRealname");
            return (Criteria) this;
        }

        public Criteria andInfoRealnameLessThanOrEqualTo(String value) {
            addCriterion("info_realName <=", value, "infoRealname");
            return (Criteria) this;
        }

        public Criteria andInfoRealnameLike(String value) {
            addCriterion("info_realName like", value, "infoRealname");
            return (Criteria) this;
        }

        public Criteria andInfoRealnameNotLike(String value) {
            addCriterion("info_realName not like", value, "infoRealname");
            return (Criteria) this;
        }

        public Criteria andInfoRealnameIn(List<String> values) {
            addCriterion("info_realName in", values, "infoRealname");
            return (Criteria) this;
        }

        public Criteria andInfoRealnameNotIn(List<String> values) {
            addCriterion("info_realName not in", values, "infoRealname");
            return (Criteria) this;
        }

        public Criteria andInfoRealnameBetween(String value1, String value2) {
            addCriterion("info_realName between", value1, value2, "infoRealname");
            return (Criteria) this;
        }

        public Criteria andInfoRealnameNotBetween(String value1, String value2) {
            addCriterion("info_realName not between", value1, value2, "infoRealname");
            return (Criteria) this;
        }

        public Criteria andInfoPhonenumIsNull() {
            addCriterion("info_phoneNum is null");
            return (Criteria) this;
        }

        public Criteria andInfoPhonenumIsNotNull() {
            addCriterion("info_phoneNum is not null");
            return (Criteria) this;
        }

        public Criteria andInfoPhonenumEqualTo(String value) {
            addCriterion("info_phoneNum =", value, "infoPhonenum");
            return (Criteria) this;
        }

        public Criteria andInfoPhonenumNotEqualTo(String value) {
            addCriterion("info_phoneNum <>", value, "infoPhonenum");
            return (Criteria) this;
        }

        public Criteria andInfoPhonenumGreaterThan(String value) {
            addCriterion("info_phoneNum >", value, "infoPhonenum");
            return (Criteria) this;
        }

        public Criteria andInfoPhonenumGreaterThanOrEqualTo(String value) {
            addCriterion("info_phoneNum >=", value, "infoPhonenum");
            return (Criteria) this;
        }

        public Criteria andInfoPhonenumLessThan(String value) {
            addCriterion("info_phoneNum <", value, "infoPhonenum");
            return (Criteria) this;
        }

        public Criteria andInfoPhonenumLessThanOrEqualTo(String value) {
            addCriterion("info_phoneNum <=", value, "infoPhonenum");
            return (Criteria) this;
        }

        public Criteria andInfoPhonenumLike(String value) {
            addCriterion("info_phoneNum like", value, "infoPhonenum");
            return (Criteria) this;
        }

        public Criteria andInfoPhonenumNotLike(String value) {
            addCriterion("info_phoneNum not like", value, "infoPhonenum");
            return (Criteria) this;
        }

        public Criteria andInfoPhonenumIn(List<String> values) {
            addCriterion("info_phoneNum in", values, "infoPhonenum");
            return (Criteria) this;
        }

        public Criteria andInfoPhonenumNotIn(List<String> values) {
            addCriterion("info_phoneNum not in", values, "infoPhonenum");
            return (Criteria) this;
        }

        public Criteria andInfoPhonenumBetween(String value1, String value2) {
            addCriterion("info_phoneNum between", value1, value2, "infoPhonenum");
            return (Criteria) this;
        }

        public Criteria andInfoPhonenumNotBetween(String value1, String value2) {
            addCriterion("info_phoneNum not between", value1, value2, "infoPhonenum");
            return (Criteria) this;
        }

        public Criteria andInfoEmailIsNull() {
            addCriterion("info_email is null");
            return (Criteria) this;
        }

        public Criteria andInfoEmailIsNotNull() {
            addCriterion("info_email is not null");
            return (Criteria) this;
        }

        public Criteria andInfoEmailEqualTo(String value) {
            addCriterion("info_email =", value, "infoEmail");
            return (Criteria) this;
        }

        public Criteria andInfoEmailNotEqualTo(String value) {
            addCriterion("info_email <>", value, "infoEmail");
            return (Criteria) this;
        }

        public Criteria andInfoEmailGreaterThan(String value) {
            addCriterion("info_email >", value, "infoEmail");
            return (Criteria) this;
        }

        public Criteria andInfoEmailGreaterThanOrEqualTo(String value) {
            addCriterion("info_email >=", value, "infoEmail");
            return (Criteria) this;
        }

        public Criteria andInfoEmailLessThan(String value) {
            addCriterion("info_email <", value, "infoEmail");
            return (Criteria) this;
        }

        public Criteria andInfoEmailLessThanOrEqualTo(String value) {
            addCriterion("info_email <=", value, "infoEmail");
            return (Criteria) this;
        }

        public Criteria andInfoEmailLike(String value) {
            addCriterion("info_email like", value, "infoEmail");
            return (Criteria) this;
        }

        public Criteria andInfoEmailNotLike(String value) {
            addCriterion("info_email not like", value, "infoEmail");
            return (Criteria) this;
        }

        public Criteria andInfoEmailIn(List<String> values) {
            addCriterion("info_email in", values, "infoEmail");
            return (Criteria) this;
        }

        public Criteria andInfoEmailNotIn(List<String> values) {
            addCriterion("info_email not in", values, "infoEmail");
            return (Criteria) this;
        }

        public Criteria andInfoEmailBetween(String value1, String value2) {
            addCriterion("info_email between", value1, value2, "infoEmail");
            return (Criteria) this;
        }

        public Criteria andInfoEmailNotBetween(String value1, String value2) {
            addCriterion("info_email not between", value1, value2, "infoEmail");
            return (Criteria) this;
        }

        public Criteria andInfoAgeIsNull() {
            addCriterion("info_age is null");
            return (Criteria) this;
        }

        public Criteria andInfoAgeIsNotNull() {
            addCriterion("info_age is not null");
            return (Criteria) this;
        }

        public Criteria andInfoAgeEqualTo(Integer value) {
            addCriterion("info_age =", value, "infoAge");
            return (Criteria) this;
        }

        public Criteria andInfoAgeNotEqualTo(Integer value) {
            addCriterion("info_age <>", value, "infoAge");
            return (Criteria) this;
        }

        public Criteria andInfoAgeGreaterThan(Integer value) {
            addCriterion("info_age >", value, "infoAge");
            return (Criteria) this;
        }

        public Criteria andInfoAgeGreaterThanOrEqualTo(Integer value) {
            addCriterion("info_age >=", value, "infoAge");
            return (Criteria) this;
        }

        public Criteria andInfoAgeLessThan(Integer value) {
            addCriterion("info_age <", value, "infoAge");
            return (Criteria) this;
        }

        public Criteria andInfoAgeLessThanOrEqualTo(Integer value) {
            addCriterion("info_age <=", value, "infoAge");
            return (Criteria) this;
        }

        public Criteria andInfoAgeIn(List<Integer> values) {
            addCriterion("info_age in", values, "infoAge");
            return (Criteria) this;
        }

        public Criteria andInfoAgeNotIn(List<Integer> values) {
            addCriterion("info_age not in", values, "infoAge");
            return (Criteria) this;
        }

        public Criteria andInfoAgeBetween(Integer value1, Integer value2) {
            addCriterion("info_age between", value1, value2, "infoAge");
            return (Criteria) this;
        }

        public Criteria andInfoAgeNotBetween(Integer value1, Integer value2) {
            addCriterion("info_age not between", value1, value2, "infoAge");
            return (Criteria) this;
        }

        public Criteria andInfoCreatetimeIsNull() {
            addCriterion("info_createTime is null");
            return (Criteria) this;
        }

        public Criteria andInfoCreatetimeIsNotNull() {
            addCriterion("info_createTime is not null");
            return (Criteria) this;
        }

        public Criteria andInfoCreatetimeEqualTo(Date value) {
            addCriterion("info_createTime =", value, "infoCreatetime");
            return (Criteria) this;
        }

        public Criteria andInfoCreatetimeNotEqualTo(Date value) {
            addCriterion("info_createTime <>", value, "infoCreatetime");
            return (Criteria) this;
        }

        public Criteria andInfoCreatetimeGreaterThan(Date value) {
            addCriterion("info_createTime >", value, "infoCreatetime");
            return (Criteria) this;
        }

        public Criteria andInfoCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("info_createTime >=", value, "infoCreatetime");
            return (Criteria) this;
        }

        public Criteria andInfoCreatetimeLessThan(Date value) {
            addCriterion("info_createTime <", value, "infoCreatetime");
            return (Criteria) this;
        }

        public Criteria andInfoCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("info_createTime <=", value, "infoCreatetime");
            return (Criteria) this;
        }

        public Criteria andInfoCreatetimeIn(List<Date> values) {
            addCriterion("info_createTime in", values, "infoCreatetime");
            return (Criteria) this;
        }

        public Criteria andInfoCreatetimeNotIn(List<Date> values) {
            addCriterion("info_createTime not in", values, "infoCreatetime");
            return (Criteria) this;
        }

        public Criteria andInfoCreatetimeBetween(Date value1, Date value2) {
            addCriterion("info_createTime between", value1, value2, "infoCreatetime");
            return (Criteria) this;
        }

        public Criteria andInfoCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("info_createTime not between", value1, value2, "infoCreatetime");
            return (Criteria) this;
        }

        public Criteria andInfoDelIsNull() {
            addCriterion("info_del is null");
            return (Criteria) this;
        }

        public Criteria andInfoDelIsNotNull() {
            addCriterion("info_del is not null");
            return (Criteria) this;
        }

        public Criteria andInfoDelEqualTo(Integer value) {
            addCriterion("info_del =", value, "infoDel");
            return (Criteria) this;
        }

        public Criteria andInfoDelNotEqualTo(Integer value) {
            addCriterion("info_del <>", value, "infoDel");
            return (Criteria) this;
        }

        public Criteria andInfoDelGreaterThan(Integer value) {
            addCriterion("info_del >", value, "infoDel");
            return (Criteria) this;
        }

        public Criteria andInfoDelGreaterThanOrEqualTo(Integer value) {
            addCriterion("info_del >=", value, "infoDel");
            return (Criteria) this;
        }

        public Criteria andInfoDelLessThan(Integer value) {
            addCriterion("info_del <", value, "infoDel");
            return (Criteria) this;
        }

        public Criteria andInfoDelLessThanOrEqualTo(Integer value) {
            addCriterion("info_del <=", value, "infoDel");
            return (Criteria) this;
        }

        public Criteria andInfoDelIn(List<Integer> values) {
            addCriterion("info_del in", values, "infoDel");
            return (Criteria) this;
        }

        public Criteria andInfoDelNotIn(List<Integer> values) {
            addCriterion("info_del not in", values, "infoDel");
            return (Criteria) this;
        }

        public Criteria andInfoDelBetween(Integer value1, Integer value2) {
            addCriterion("info_del between", value1, value2, "infoDel");
            return (Criteria) this;
        }

        public Criteria andInfoDelNotBetween(Integer value1, Integer value2) {
            addCriterion("info_del not between", value1, value2, "infoDel");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("user_id like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("user_id not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andInfoAddressIsNull() {
            addCriterion("info_address is null");
            return (Criteria) this;
        }

        public Criteria andInfoAddressIsNotNull() {
            addCriterion("info_address is not null");
            return (Criteria) this;
        }

        public Criteria andInfoAddressEqualTo(String value) {
            addCriterion("info_address =", value, "infoAddress");
            return (Criteria) this;
        }

        public Criteria andInfoAddressNotEqualTo(String value) {
            addCriterion("info_address <>", value, "infoAddress");
            return (Criteria) this;
        }

        public Criteria andInfoAddressGreaterThan(String value) {
            addCriterion("info_address >", value, "infoAddress");
            return (Criteria) this;
        }

        public Criteria andInfoAddressGreaterThanOrEqualTo(String value) {
            addCriterion("info_address >=", value, "infoAddress");
            return (Criteria) this;
        }

        public Criteria andInfoAddressLessThan(String value) {
            addCriterion("info_address <", value, "infoAddress");
            return (Criteria) this;
        }

        public Criteria andInfoAddressLessThanOrEqualTo(String value) {
            addCriterion("info_address <=", value, "infoAddress");
            return (Criteria) this;
        }

        public Criteria andInfoAddressLike(String value) {
            addCriterion("info_address like", value, "infoAddress");
            return (Criteria) this;
        }

        public Criteria andInfoAddressNotLike(String value) {
            addCriterion("info_address not like", value, "infoAddress");
            return (Criteria) this;
        }

        public Criteria andInfoAddressIn(List<String> values) {
            addCriterion("info_address in", values, "infoAddress");
            return (Criteria) this;
        }

        public Criteria andInfoAddressNotIn(List<String> values) {
            addCriterion("info_address not in", values, "infoAddress");
            return (Criteria) this;
        }

        public Criteria andInfoAddressBetween(String value1, String value2) {
            addCriterion("info_address between", value1, value2, "infoAddress");
            return (Criteria) this;
        }

        public Criteria andInfoAddressNotBetween(String value1, String value2) {
            addCriterion("info_address not between", value1, value2, "infoAddress");
            return (Criteria) this;
        }

        public Criteria andDeptIdIsNull() {
            addCriterion("dept_id is null");
            return (Criteria) this;
        }

        public Criteria andDeptIdIsNotNull() {
            addCriterion("dept_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeptIdEqualTo(String value) {
            addCriterion("dept_id =", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotEqualTo(String value) {
            addCriterion("dept_id <>", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdGreaterThan(String value) {
            addCriterion("dept_id >", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdGreaterThanOrEqualTo(String value) {
            addCriterion("dept_id >=", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdLessThan(String value) {
            addCriterion("dept_id <", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdLessThanOrEqualTo(String value) {
            addCriterion("dept_id <=", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdLike(String value) {
            addCriterion("dept_id like", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotLike(String value) {
            addCriterion("dept_id not like", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdIn(List<String> values) {
            addCriterion("dept_id in", values, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotIn(List<String> values) {
            addCriterion("dept_id not in", values, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdBetween(String value1, String value2) {
            addCriterion("dept_id between", value1, value2, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotBetween(String value1, String value2) {
            addCriterion("dept_id not between", value1, value2, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptNameIsNull() {
            addCriterion("dept_name is null");
            return (Criteria) this;
        }

        public Criteria andDeptNameIsNotNull() {
            addCriterion("dept_name is not null");
            return (Criteria) this;
        }

        public Criteria andDeptNameEqualTo(String value) {
            addCriterion("dept_name =", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameNotEqualTo(String value) {
            addCriterion("dept_name <>", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameGreaterThan(String value) {
            addCriterion("dept_name >", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameGreaterThanOrEqualTo(String value) {
            addCriterion("dept_name >=", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameLessThan(String value) {
            addCriterion("dept_name <", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameLessThanOrEqualTo(String value) {
            addCriterion("dept_name <=", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameLike(String value) {
            addCriterion("dept_name like", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameNotLike(String value) {
            addCriterion("dept_name not like", value, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameIn(List<String> values) {
            addCriterion("dept_name in", values, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameNotIn(List<String> values) {
            addCriterion("dept_name not in", values, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameBetween(String value1, String value2) {
            addCriterion("dept_name between", value1, value2, "deptName");
            return (Criteria) this;
        }

        public Criteria andDeptNameNotBetween(String value1, String value2) {
            addCriterion("dept_name not between", value1, value2, "deptName");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNull() {
            addCriterion("company_id is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNotNull() {
            addCriterion("company_id is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdEqualTo(String value) {
            addCriterion("company_id =", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotEqualTo(String value) {
            addCriterion("company_id <>", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThan(String value) {
            addCriterion("company_id >", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThanOrEqualTo(String value) {
            addCriterion("company_id >=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThan(String value) {
            addCriterion("company_id <", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThanOrEqualTo(String value) {
            addCriterion("company_id <=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLike(String value) {
            addCriterion("company_id like", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotLike(String value) {
            addCriterion("company_id not like", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIn(List<String> values) {
            addCriterion("company_id in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotIn(List<String> values) {
            addCriterion("company_id not in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdBetween(String value1, String value2) {
            addCriterion("company_id between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotBetween(String value1, String value2) {
            addCriterion("company_id not between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIsNull() {
            addCriterion("company_name is null");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIsNotNull() {
            addCriterion("company_name is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyNameEqualTo(String value) {
            addCriterion("company_name =", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotEqualTo(String value) {
            addCriterion("company_name <>", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameGreaterThan(String value) {
            addCriterion("company_name >", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameGreaterThanOrEqualTo(String value) {
            addCriterion("company_name >=", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLessThan(String value) {
            addCriterion("company_name <", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLessThanOrEqualTo(String value) {
            addCriterion("company_name <=", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLike(String value) {
            addCriterion("company_name like", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotLike(String value) {
            addCriterion("company_name not like", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIn(List<String> values) {
            addCriterion("company_name in", values, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotIn(List<String> values) {
            addCriterion("company_name not in", values, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameBetween(String value1, String value2) {
            addCriterion("company_name between", value1, value2, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotBetween(String value1, String value2) {
            addCriterion("company_name not between", value1, value2, "companyName");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}